public class ResponseStatusExceptionHandler extends java.lang.Object implements WebExceptionHandler
ResponseStatusException
by setting the response status.Constructor and Description |
---|
ResponseStatusExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
<any> |
handle(ServerWebExchange exchange,
java.lang.Throwable ex)
Handle the given exception.
|
private static final Log logger
public <any> handle(ServerWebExchange exchange, java.lang.Throwable ex)
WebExceptionHandler
handle
in interface WebExceptionHandler
exchange
- the current exchangeex
- the exception to handleMono<Void>
to indicate when exception handling is complete